<td>
<ul class="sf_admin_td_actions">
  <li><?php echo link_to(image_tag('/sf/sf_admin/images/delete_icon.png', array('alt' => __('delete'), 'title' => __('delete'))), '@admin?module=comment&action=delete&id='.$comment->getId(), array (
  'post' => true,
  'confirm' => __('Are you sure?'),
)) ?></li>
  <li><?php echo link_to(image_tag('/sf/sf_admin/images/edit_icon.png', array('alt' => __('edit'), 'title' => __('edit'))), '@admin?module=comment&action=edit&id='.$comment->getId()) ?></li>
  
  <?php if ($comment->getApproved()): ?>
    <li><?php echo link_to(image_tag('/images/comment_delete.png', array('alt' => __('disapprove'), 'title' => __('disapprove'))), '@admin?module=comment&action=approve&status=0&id='.$comment->getId()) ?></li>
  <?php else: ?>
    <li><?php echo link_to(image_tag('/images/comment.png', array('alt' => __('approve'), 'title' => __('approve'))), '@admin?module=comment&action=approve&status=1&id='.$comment->getId()) ?></li>
  <?php endif; ?>
  
</ul>
</td>